package com.opentae.data.mall.interfaces;

import com.opentae.core.mybatis.config.MyBatisRepository;
import com.opentae.core.mybatis.mapper.Mapper;
import com.opentae.data.mall.beans.MoUserAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;

/**
 * 
 * Created by exampleCreater.
 */
@MyBatisRepository("tae_mall_moUserAccountMapper")
@Scope("singleton")
@Lazy(true)
public interface MoUserAccountMapper extends Mapper<MoUserAccount> {

    void addProfit(@Param("agentId") Long agentId, @Param("addMoney") Double addMoney,@Param("frozenMoney") Double frozenMoney);
}
